//获得选中节点点所有子节点的ID
    function getAllChildrenNodes(treeNode,result){//
        if (treeNode.isParent) {
            var childrenNodes = treeNode.children;
            if (childrenNodes) {
                for (var i = 0; i < childrenNodes.length; i++) {
                    result += ',' + childrenNodes[i].id;
                    result = getAllChildrenNodes(childrenNodes[i], result);
                }
            }
        }
        return result;
    }
    
    //获得下拉框的选中项//
    function showSelectOption(id,selectValue){
    	var count = jQuery(id).get(0).options.length;
        for(var i=0;i<count;i++)  
         { 
            if($(id).get(0).options[i].text == selectValue)  
                {  
                    $(id).get(0).options[i].selected = true;  
                    break;  
                }  
        }	
    }